const mongoose = require('mongoose');
const { dbUrl } = require('../config/config.default')
mongoose.connect(dbUrl)
    .then(() => console.log(`连接成功！！！`))
    .catch(err => console.log(`连接失败！！！`,err))
module.exports = {
    User: mongoose.model('User', require('./user')),
}

